public class Date {
    public int year=2022;//就地初始化
    public int month=7;
    public int day=30;

    public Date() {

    }
    public Date(int year,int month,int day)
    {

    }
    public static void main(String[] args) {
        Date date1=new Date();
        Date date2=new Date(2000,1,30);


    }
}
